package org.xsk.structure.linked;

public class DLLinkedList {

    private GoodsNode node = new GoodsNode(0,0.00,"");

    public void add(GoodsNode goodsNode){
        GoodsNode temp = node;
        while (true){
            if (temp.next == null){
                break;
            }
            temp = temp.next;
        }
        temp.next = goodsNode;
    }
}
